<template>
  <div>
    <!-- 质量报告反馈 -->
    <CommonList :hideFilterStrArr="hideFilterStrArr"/>
  </div>
</template>
<script>
import {mapMutations} from 'vuex'
import CommonList from './list.vue'
export default {
  name:'qualityManageFeedback',
  components: {
    CommonList,
  },
  created(){
    this.init()
  },
  activated(){
    this.init()
  },
  data() {
    return {
      // 需要隐藏的筛选条件 Array<String>
      hideFilterStrArr:['dealerName'],
      editForm:{
        role:'DLR', // DLR 经销商、 OEM 车厂
        type:'readonly' // 详情弹窗状态: 只读 readonly 、新增 add 、编辑 edit、 审核 audit
      }
    }
  },
  methods:{
    ...mapMutations('qualityManage',['SET_STATE_BY_NAME']),
    init(){
      console.log('init')
      const params = {
        name:'pageType',
        value:'DLR' // 经销商
      }
      this.SET_STATE_BY_NAME(params)
    }
  }
};
</script>

<style lang="less" scoped></style>
